the idea came across my mind

  1. Aklıma şu fikir geldi.